Function data

UFL functions are much like any other function you might create in C. They can accept values that are passed as parameters, and they return a value that is printed on the report. Once you have determined how a UFL function will perform a task, you will know exactly what kind of data it will require to complete that operation. The following table shows the data types that a UFL function can accept as a parameter, along with a description of what the parameter will look like in C:

Parameter Type C Data Type

number

Double.

currency

Double.

Boolean

Short integer.

string

Pointer to an array of characters.

range (number)

Structure containing two doubles.

range (currency)

Structure containing two doubles.

range (Boolean)

Structure containing two short integers.

range (date)

Structure containing two long integers.

range (string)

Structure containing pointers to two elements in a character array.

array (number)

Pointer to a number array.

array (currency)

Pointer to a number array.

array (integer)

Pointer to an integer array.

array (Boolean)

Pointer to a Boolean array.

array (date)

Pointer to a date array.

array (string)

Pointer to a string array.



Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com